function CrossChromes=Crossoperation(SelectChromes,Select_no,m_no,n_no,CUTMachineDis)  %SelectChromes����ǰ���harmony
    CrossChromes=zeros(Select_no,m_no+n_no);
    for i=1:2:Select_no
        %ѡ����������
        Parent1Chromes=SelectChromes(i,:);
        Parent2Chromes=SelectChromes(i+1,:);
        j=i+1; 
        %������ͬ����
        while (Parent1Chromes==Parent2Chromes)
            if j<Select_no
                j=j+1;
            else
                j=1;
            end
            Parent2Chromes=SelectChromes(j,:); 
        end
        
        [CrossChromes(i,:),CrossChromes(i+1,:)]=Cross(Parent1Chromes,Parent2Chromes,m_no,CUTMachineDis);
    end
end